/**
*@Author: QWP
*@Description:研判相关接口
*@Date 2024-09-10 13:57
*/
import request from '@/http'

// 列表分页查询
export const page = async (data: object) => {
  return await request.post({
    url: '/api/bizz/docTJudgment/page',
    data: data
  })
}

// 新增
export const add = async (data: object) => {
  return await request.post({
    url: '/api/bizz/docTJudgment',
    data: data
  })
}

// 修改
export const update = async (data: object) => {
  return await request.post({
    url: '/api/bizz/docTJudgment/update',
    data: data
  })
}

// 删除
export const del  = async (data: Array<any>) => {
  return await request.post({
    url: '/api/bizz/docTJudgment/delete',
    data,
    headersType: 'application/x-www-form-urlencoded'
  })
}

// 发布
export const releaseJudg  = async (data: Array<any>) => {
  return await request.post({
    url: '/api/bizz/docTJudgment/releaseJudg',
    data,
  })
}

// 首页查询研判信息
export const selectJudg  = async (data: Array<any>) => {
  return await request.post({
    url: '/api/bizz/docTJudgment/selectJudg',
    data,
  })
}

// 单体查询
export const query = async (id: String) => {
  return await request.get({
    url: '/bizz/docTJudgment/' + id,
  })
}

// 导出
export const download = async (data: object) => {
  return await request.download1({
    url: '/bizz/docTJudgment/export',
    data
  })
}


